Adwaita: set the right background color for message dialogs
authorLapo Calamandrei <calamandrei@gmail.com>
Wed, 28 Jan 2015 17:19:20 +0000 (18:19 +0100)
committerLapo Calamandrei <calamandrei@gmail.com>
Wed, 28 Jan 2015 17:20:05 +0000 (18:20 +0100)
gtk/theme/Adwaita/_common.scss
gtk/theme/Adwaita/gtk-contained.css

index bdf1c6bbf55290d81bebac812ecfcaa905c81118..44596e27f4dd5e7f622acf8bbf0b4da24ad939ba 100644 (file)
@@ -2779,6 +2779,12 @@ GtkCalendar {
 
 .message-dialog { // Message Dialog styling
   -GtkDialog-button-spacing: 0;
+
+  @if $variant==light {
+    // the bright variant as a slightly darker bg which in this case clashes with the window decoration, overriding
+    &.background { background-color: $bg_color; }
+  }
+
   .titlebar {
     border-style: none;
     box-shadow: inset 0 1px $borders_edge;
index 26a1f6eb0f6488b146859d7cbe06558e23022ff2..ce7c34fb0b55914b030a318bd00ab1f696f2fb67 100644 (file)
@@ -3972,6 +3972,8 @@ GtkCalendar {
 
 .message-dialog {
   -GtkDialog-button-spacing: 0; }
+  .message-dialog.background {
+    background-color: #ededed; }
   .message-dialog .titlebar {
     border-style: none;
     box-shadow: inset 0 1px white; }